<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.ignou.mca.beans.UserVO"%><html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="theme/style.css"
	media="screen" />
<title>OES - Displaying your profile</title>
<script type="text/javascript">
function changePwd()
{
	window.location.href = 'ChangePassword.jsp'; 
}
</script>
</head>
<body onload="userfocus()">
	<div id="MainWrapper">
		<jsp:include page="header.jsp" /> 
		<jsp:include page="LeftContainer.jsp" />
		<div id="MainContent">
		<%
			UserVO uvo = (UserVO) session.getAttribute("UserVO");
			if(uvo==null)
			{
				response.sendRedirect("./Login.jsp");
			}
			else
			{
		%>
			Hi, <%=uvo.getLastName()%>,! Welcome to Online examination System.
			<br><br>
			User Name : <%=uvo.getUserName() %><br>
			Password : XXXXXXXX<br><br>
			<hr>
			First Name : <%=uvo.getFirstName() %><br>
			Last Name : <%=uvo.getLastName() %><br>
			Email ID : <%=uvo.getEmail() %><br>
			Phone Number : <%=uvo.getPhone() %><br>
			Address : <%=uvo.getAddress1() %>, <%=uvo.getAddress2() %><br>
			City : <%=uvo.getCity() %><br>
			State : <%=uvo.getState() %><br>
			Country : <%=uvo.getCountry() %><br>
					
		<%
			}
		%>
		<input type="button" value="Update Profile" disabled="disabled">
		<input type="button" value="Change Password" onclick="changePwd()">
		<br><br><br><br><br><br><br><br>
		</div>
		<jsp:include page="footer.jsp" />
	</div>
</body>
</html>